//
//  WeaponTrailEffect.m
//  FruitWar
//
//  Created by User on 9/10/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "WeaponTrailEffect.h"

@implementation WeaponTrailEffect


-(id) init 
{
	return [self initWithTotalParticles:100 color:(ccColor3B){255, 255, 255}];
}

-(id) initWithTotalParticles:(int)p color:(ccColor3B)color 
{
	if( !(self=[super initWithTotalParticles:p]) )
		return nil;
	
	// duration
    //duration = kCCParticleDurationInfinity;
    //[self setEmissionRate:1.0f];
    self.startSize = 30.0f;
	self.startSizeVar = 10.0f;
    
	
	// additive
	self.blendAdditive = YES;
	
	return self;
}


@end
